﻿#if UNITY_STANDALONE || UNITY_ANDROID || UNITY_IOS || UNITY_WSA || UNITY_WEBGL
using Net.Client;
using Net.Helper;
using UnityEngine;

namespace Example2
{
    public class StartPoint : MonoBehaviour
    {
        // Start is called before the first frame update
        async void Start()
        {
            var code = await ClientBase.Instance.Request<int>("EnterGameScene".CRCU32(), "Battle");
            Debug.Log(code == 1 ? "进入场景成功!" : "进入场景失败!");
        }
    }
}
#endif